package(default_visibility = ["//visibility:public"])

licenses(["notice"])  # Apache 2.0

exports_files(["LICENSE"])

load("//tensorflow/core:platform/default/build_config_root.bzl", "if_static")

py_library(
    name = "proto",
    srcs = [
        "__init__.py",
    ],
    deps = [
        "//tensorflow/contrib/proto/python/ops:decode_proto_op_py",
        "//tensorflow/contrib/proto/python/ops:encode_proto_op_py",
    ],
)

py_library(
    name = "proto_pip",
    data = [
        "//tensorflow/contrib/proto/python/kernel_tests:test_messages",
    ] + if_static(
        [],
        otherwise = ["//tensorflow/contrib/proto/python/kernel_tests:libtestexample.so"],
    ),
    deps = [
        ":proto",
        "//tensorflow/contrib/proto/python/kernel_tests:py_test_deps",
    ],
)
